﻿using ETModel;
using UnityEngine;

namespace ETHotfix
{

    [ObjectSystem]
    public  class FUICreateRoleWndComponentSystem: AwakeSystem<FUICreateRoleWndComponent>
    {

        public override void Awake(FUICreateRoleWndComponent self)
        {
            FUI ui = self.GetParent<FUI>();
            ui.Get("btnStart").GObject.asButton.onClick.Add(OnBtnStartClick);
        }

        private void OnBtnStartClick()
        {
            Debug.LogError("我点击了开始");
        }
    }
}